<!doctype html>

<html>
<head>
<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js">
</script>
<?php
include_once('navbar.php');
include_once('superheader.php');
?>

<script>
$(function() {
	
	$( "#subset" ).buttonset();
	$( "#button5" ).button();
	$( "#button4" ).button();
	$( "#button3" ).button();

	
});
</script>

</head>


<body>
	<h2>Please select which report to run:</h2>
	
	<?php if(isset($_GET["error"])) : ?>
		<?php if($_GET["error"] == 'emptySoft') : ?>
		    <div class="ui-widget">
				<p>Please enter all fields have valid information.</p>
			</div>
		<?php endif; ?>
		<?php if($_GET["error"] == 'duplicateSoft') : ?>
		    <div class="ui-widget">
				<p>Software with that barcode already exists.</p>
			</div>
		<?php endif; ?>
		<?php if($_GET["error"] == 'dateSoft') : ?>
		    <div class="ui-widget">
				<p>Ensure decomission date entered is prior to commission date.</p>
			</div>
		<?php endif; ?>
	<?php endif; ?>

	<form action="runreport.php" method="post">
	 	<input type="radio" name="type" value="upManWk">Upcoming Maintenance - Week<br>
	 	<input type="radio" name="type" value="upManMo">Upcoming Maintenance - Month<br>
	 	<input type="radio" name="type" value="backManWk">Completed Maintenance - Past Week<br>
	 	<input type="radio" name="type" value="backManMo">Completed Maintenance - Past Month<br>
	 	<!--<input type="radio" name="type" value="backManMo">All Users<br>-->
	 	<input type="radio" name="type" value="other">Buggerit. Millenium hand and shrimp!<br/><br/>
	 	<button id="button5" input type="submit" name="submit" value="Submit me!" />Submit</button>
	</form>
	
	

	
	
	
	

</body>